home *** CD-ROM | disk | FTP | other *** search
/ RenderOrgan / (WIN+MAC) RenderOrgan / renderorgan / renderorgan.img / pc / dir / b1fz.dir / 00321_Field_321.txt < prev   
Text File  |  1995-10-27  |  1KB  |  50 lines

  1.  
  2. on exitFrame
  3.  global TexH ,MovH
  4.   set  the puppet of Sprite 5 to true
  5.   set the stretch of sprite 5 = false
  6.   set the castNum of sprite 5 to the number of cast "01-DeckA"
  7.   put the width of cast "01-DeckA" -628 + MovH*2 into TexH
  8.   if the mouseDown =true then go to the frame
  9.  end if
  10. end
  11.  
  12. on exitFrame
  13.   global MovH,TexH
  14.   if the mouseDown =true and rollover(5) then
  15.     set the locH of sprite 5 to the locH of sprite 5-4
  16.   else if rollover(5) then
  17.     set the locH of sprite 5 to the locH of sprite 5-MovH*2
  18.   else if the mouseDown =true then
  19.     go to the frame
  20.   else
  21.     set the locH of sprite 5 to the locH of sprite 5-MovH
  22.   end If
  23.  
  24.   if the locH of sprite 5<the stageLeft - TexH then
  25.     set  the puppet of Sprite 5 to False
  26.     sound stop 2
  27.     go to "A1"
  28.   end If
  29. end
  30.  
  31. on exitFrame
  32.   global MovH,TexH 
  33.   if the mouseDown =true and rollover(5) then
  34.     set the locH of sprite 5 to the locH of sprite 5-4
  35.   else if rollover(5) then
  36.     set the locH of sprite 5 to the locH of sprite 5-MovH*2
  37.   else if the mouseDown =true then
  38.     go to the frame
  39.   else
  40.     set the locH of sprite 5 to the locH of sprite 5-MovH
  41.   end If
  42.  
  43.   if the locH of sprite 5 < the stageLeft - TexH  then
  44.     set  the puppet of Sprite 5 to False
  45.     sound stop 2
  46.     go to "A1"
  47.   else
  48.     go to the frame-3
  49.   end If
  50. end